package com.lyl.lawyer.dao;

import com.lyl.lawyer.model.dto.LeavingAddDto;
import com.lyl.lawyer.model.dto.LeavingFindDto;
import com.lyl.lawyer.model.entity.LeavingModel;

import java.util.List;

public interface LeavingMapper {

    List<LeavingModel> findAll(LeavingFindDto leavingFindDto);
    LeavingModel findById(Integer id);
    int delete(Integer id);
    int add(LeavingAddDto leavingAddDto);
    int countFindAll(LeavingAddDto leavingAddDto);
}
